package com.miniapp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.miniapp.entity.enums.MiniVersionStatus;

/**
 * 用户接入版本记录
 * 
 * @author linyuchi
 * @email xunli-03@163.com
 * @date 2018-04-14 16:44:39
 */
@SuppressWarnings("serial")
@TableName("mini_version_log")
public class MiniVersionLogEntity extends BaseEntity{

	/**
     * 版本状态 MiniVersionStatus
     */
	private MiniVersionStatus status;
	
	/**
     * 订单ID
     */
	@TableField(exist = false)
	private MiniUserProductEntity miniUserProduct;

	private Long userProductId;
	/**
	 * 审核信息
	 */
	private String reason;
	
	/**
     * 版本信息
     */
	private String edition;

	public MiniVersionStatus getStatus() {
		return status;
	}

	public void setStatus(MiniVersionStatus status) {
		this.status = status;
	}

	public MiniUserProductEntity getMiniUserProduct() {
		return miniUserProduct;
	}

	public void setMiniUserProduct(MiniUserProductEntity miniUserProduct) {
		this.miniUserProduct = miniUserProduct;
	}

	public Long getUserProductId() {
		return userProductId;
	}

	public void setUserProductId(Long userProductId) {
		this.userProductId = userProductId;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getEdition() {
		return edition;
	}

	public void setEdition(String edition) {
		this.edition = edition;
	}
}
